package com.atomic.test.example.query;

import java.io.Serializable;

/**
 * Created by dreamyao on 2017/3/9.
 */
public class CreatePostDo implements Serializable {

    /**
     * 论坛ID
     */
    private Integer boardId;

    /**
     * 话题ID
     */
    private Integer topicId;

    /**
     * 帖子类型：1主帖子 2：回复帖子
     */
    private Integer postType;

    /**
     * 帖子标题
     */
    private String postTitle;

    /**
     * 帖子内容
     */
    private String postText;

    public Integer getBoardId() {
        return boardId;
    }

    public void setBoardId(Integer boardId) {
        this.boardId = boardId;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public Integer getPostType() {
        return postType;
    }

    public void setPostType(Integer postType) {
        this.postType = postType;
    }

    public String getPostTitle() {
        return postTitle;
    }

    public void setPostTitle(String postTitle) {
        this.postTitle = postTitle;
    }

    public String getPostText() {
        return postText;
    }

    public void setPostText(String postText) {
        this.postText = postText;
    }

    @Override
    public String toString() {
        return "CreatePostDo{" +
                "boardId=" + boardId +
                ", topicId=" + topicId +
                ", postType=" + postType +
                ", postTitle='" + postTitle + '\'' +
                ", postText='" + postText + '\'' +
                '}';
    }
}
